package org.yzl.designPatterns.strategy;

public abstract class AbstractStrategy {
    public int[] split(String exp ,String opt){
        int[] result = new int[2];
        String[] strs = exp.split(opt);
        result[0] = Integer.parseInt(strs[0]);
        result[1] = Integer.parseInt(strs[1]);
        return result;
    }
}
